Documentation Improvement: React Native UI Kit v5#278
Open
Farhan-CometChat wants to merge 13 commits intomainfrom
Open
Documentation Improvement: React Native UI Kit v5#278Farhan-CometChat wants to merge 13 commits intomainfrom
Farhan-CometChat wants to merge 13 commits intomainfrom
Conversation
…references - Add meta descriptions to all React Native SDK documentation pages - Add "Quick Reference for AI Agents & Developers" sections with code examples - Add "Available via" notes linking to related resources (SDK, REST API, UI Kits) - Standardize tab titles across documentation (e.g., "User Conversation" → "JavaScript", "Typescript" → "TypeScript") - Improve consistency in code examples and formatting across all pages - Enhance discoverability and provide quick access to common patterns for developers
… SDK docs - Add meta descriptions to all React Native SDK documentation pages - Include quick reference code blocks with common usage patterns - Add "Available via" notes linking to REST API and UI Kit alternatives - Update tab titles from generic names to "JavaScript" for consistency - Add Best Practices sections with accordion-style guidance - Add Troubleshooting sections addressing common issues - Add Next Steps sections with related documentation cards - Improve documentation structure and discoverability across 17 pages - Enhance user experience with clearer navigation and practical examples
…n to SDK docs - Add meta descriptions to advanced-overview, ai-agents, ai-moderation, authentication-overview, calling-setup, connection-status, managing-web-sockets-connections-manually, real-time-listeners, resources-overview, and upgrading-from-v3 pages - Add quick reference code blocks with common usage patterns to multiple documentation pages - Convert event descriptions to table format for improved readability in ai-agents.mdx - Add warning sections about listener cleanup and memory leak prevention - Add best practices and troubleshooting accordions to ai-agents.mdx and ai-moderation.mdx - Add CardGroup navigation sections with Next Steps to guide users through related topics - Replace blockquote syntax with Info, Note, and Warning components for better visual hierarchy - Improve documentation structure and user navigation flow across React Native SDK pages
…K docs - Add "Send a Message" section with sample console output for CometChat.sendMessage() - Add "Receive Messages in Real Time" section with sample outputs for message listeners - Add detailed JSON examples showing success and failure responses - Add accordion components to organize console output examples - Improve messaging documentation with practical code examples and expected outputs
…organize notification docs - Add new push-notification-html-stripping.mdx documentation page - Reorganize React Native push notification docs under grouped "Push Notifications" section - Add four new Xcode screenshot images for push notification setup guidance - Update docs.json navigation structure to reference platform-specific notification guides - Fix JSON formatting and indentation inconsistencies in docs.json redirect rules - Expand additional-message-filtering.mdx with console output examples and implementation details - Update authentication-overview.mdx and receive-messages.mdx with improved documentation
…ering examples - Add accordion section with sample console output for fetchPrevious() method showing both custom and message categories - Include detailed JSON response examples demonstrating poll extension and text message structures - Expand media messages filtering documentation with additional code examples and use cases - Provide comprehensive examples for filtering messages by multiple types and categories - Improve documentation clarity for developers implementing message filtering functionality
- Add sample console output accordions to delete-conversation, delete-message, delivery-read-receipts, flag-message, interactive-messages, mentions, reactions, retrieve-conversations, threaded-messages, transient-messages, and typing-indicators docs - Fix UI Kit documentation links from `/ui-kits/react-native/overview` to `/ui-kit/react-native/overview` across all modified files - Include JSON response examples showing successful method execution and event callbacks - Provide developers with clear reference output for debugging and integration
- Add response accordions to block-users.mdx with blockUsers(), unblockUsers(), and fetchNext() response tables - Add response accordions to call-logs.mdx documenting fetchNext() response structure - Add response accordions to presenter-mode.mdx with startPresentation() and stopPresentation() responses - Add response accordions to recording.mdx with startRecording() and stopRecording() responses - Add response accordions to retrieve-users.mdx with fetchNext() response tables - Add response accordions to standalone-calling.mdx with call initiation and response structures - Add response accordions to user-management.mdx with user creation and update responses - Add response accordions to user-presence.mdx with presence subscription responses - Include parameter descriptions, types, and sample values for all API responses - Improve developer experience by providing clear response documentation alongside code examples
… and call docs - Add response accordion to createGroup() with Group object structure and sample values - Add response accordion to createGroupWithMembers() with group and members object details - Add sample response accordion to initiateCall() with Call object and User object structures - Add sample response accordions to call listener events with detailed parameter documentation - Include comprehensive parameter tables with types, descriptions, and sample values for all responses - Improve API documentation clarity by showing developers expected response structures upfront
…s SDK docs - Convert sample JSON output accordions to structured response tables with parameter descriptions - Add table-based documentation for Message, sender, receiver, data, and metadata objects - Include sample values and type information for all response parameters - Add anchor links for cross-referencing object structures within documentation - Improve readability and consistency across 28 SDK documentation files - Standardize response documentation format for better developer reference
…s UI Kit docs - Add description meta tags to call-features documentation - Add quick reference section with installation and code examples to call-features - Add info notes about SDK requirements and available resources - Improve formatting and consistency in section headers (capitalize properly) - Simplify and clarify instructional text throughout UI Kit documentation - Replace tab-based image layouts with Frame component for better presentation - Update file path references to use backticks for clarity - Standardize permission and configuration setup instructions across Android and iOS sections - Enhance setup-sdk documentation with Android async-storage Maven repository configuration - Add warning note for Android async-storage v3 local Maven artifact requirement
…t docs - Add overview and shortcut formatter screenshot images - Add meta descriptions to all UI Kit documentation files - Add quick reference code blocks with imports and basic usage examples - Add Info boxes with quick references for developers and AI agents - Add Note sections indicating availability via UI Kits - Add Next Steps card groups with related component links - Improve component descriptions and simplify language for clarity - Add missing TypeScript imports to code examples - Reorganize content structure for better navigation and discoverability
…list docs - Remove broken link references to CometChatMessageTemplate documentation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documentation Improvement: React Native UI Kit v5
Scope
@cometchat/chat-uikit-react-native(v5)docs/react-native-uikit-v5ui-kit/react-native/)What was improved
Structure & Navigation
<Info>blocks with copy-paste ready code at the top of each page)descriptionfrontmatter added for SEO<CardGroup>) added to all pagesTypeScript/JavaScript— not filename-based)Auth Keyfor dev only,Auth Tokenfor production)Code & API Fixes
CometChatMessages→CometChatMessageList(correct component name in mentions-formatter-guide, shortcut-formatter-guide)messageListConfiguration={{textFormatters:}}→textFormatters={}(direct prop usage)loggedInUserTextStyle→selfTextStyle(correct property name in MentionTextStyle)setOnMentionCLick→setOnMentionClick(typo fix)react-native-toast-messagedependency from code examples (replaced withconsole.log)Content Enhancements
message-bubble-styling.mdx— Restructured for clarity, all existing content preservedmulti-tab-chat-ui-guide.mdx— Expanded with proper TypeScript/JavaScript tabsshortcut-formatter-guide.mdx— Added complete working code examples with proper importsguide-ai-agent.mdx— Wrapped code in<Tabs>, added Quick Reference and Next Stepscomponent-styling.mdx— Improved formatting and readabilitylocalize.mdx— Improved structure with proper tabsImages
shortcut_formatter_cometchat_screens.png(consolidated screenshot)What was NOT changed
Toastusage and incorrect component names)Verification